package org.example.springioc01.dao;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class DeliveryDAO {
    @Autowired
    MyDataSource myDataSource;

    public  void save(){
        System.out.println("数据源,保存数据"+myDataSource);
    }

}
